//
//  CircularProgressView.h
//  iiecg
//  Created by Shanlin on 2016/11/15.
//  Copyright © 2016年 Boundary Technology. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface IKCircularProgress : NSObject

@property (nonatomic,strong)UIColor* backgroundColor;//
//进度条和进度条背景颜色
@property (nonatomic,strong)UIColor* progressColor;//
@property (nonatomic,strong)UIColor* progressBGColor;//
//进度条和背景宽度
@property (nonatomic,assign) NSInteger progressWidth;//
@property (nonatomic,assign) NSInteger progressBGWidth;//
//开始结束文本
@property (nonatomic,copy) NSString* startText;//
@property (nonatomic,copy) NSString* endText;//
@property (nonatomic,assign) NSInteger startTextSize;//
@property (nonatomic,assign) NSInteger endTextSize;//
@property (nonatomic,strong) UIColor* startTextColor;//
@property (nonatomic,strong) UIColor* endTextColor;//

@end

@interface IKCircularProgressView : UIView
//进度0~100
@property (nonatomic,assign) NSInteger progress;//
@property (nonatomic,assign,getter=isDisableAnimate) BOOL disableAnimate;//

+(instancetype)initWithFrame:(CGRect)frame circularProgress:(IKCircularProgress*)circularProgress;

-(void)updateCircularProgress:(IKCircularProgress*)circularProgress;
-(void)reset;

- (void)clearProgress;

@end
